import java.io.*;



public class Test2 {
	public static void main(String[] args) throws IOException {
		InputStream a = new FileInputStream("D://1.txt");
		byte[] b = new byte[1024];
		int c;
		while((c = a.read(b))!=-1){
			System.out.println(new String(b,0,c));
		}
		b.clone();
	}
}
